package geometry
{
	import flash.display.Graphics;
	
	public class Figure extends Polyline
	{
		
	  // --------------------------------------------------------------------------------------------
		public function Figure(p:Array)
		{
			if( p.length > 1){
				p[p.length-1] = p[0];
			}
			
			super(p);
		}
		
	}
}